﻿<UserControl x:Class="W4S.Work4Source.MyControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.10.0"
             mc:Ignorable="d" 
             d:DesignHeight="215" d:DesignWidth="621"
             Name="MyToolWindow">
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#FFBCC7D8">
        <Button Content="Search" Height="23" Margin="6,12,0,0" Name="btnWorkItems" Width="67" HorizontalAlignment="Left" VerticalAlignment="Top" Click="btnWorkItems_Click" />
        <DataGrid AutoGenerateColumns="True" Margin="0,41,0,0" Name="dataGrid" CanUserAddRows="False" ItemsSource="{Binding}" MouseDoubleClick="dataGrid_MouseDoubleClick" SelectionMode="Single" IsReadOnly="True" GridLinesVisibility="All" HorizontalGridLinesBrush="#FFF0F0F0" VerticalGridLinesBrush="#FFF0F0F0" Background="White" BorderThickness="1" CanUserSortColumns="True" ClipboardCopyMode="IncludeHeader" />
        <Label Height="25" Margin="168,11,13,0" Name="lblSelectedItem" VerticalAlignment="Top" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="87,12,0,0" Name="btnCancel" VerticalAlignment="Top" Width="67" Click="btnCancel_Click" />
    </Grid>
</UserControl>
